import useClockStore from '@/views/clock/store';
import useGoodsStore from '@/views/goods/index/store';
import useIndexStore from '@/views/index/store';
import useAdminStore from '@/views/lock/admin/store';
import useMenuStore from '@/views/lock/menu/store';
import useRoleStore from '@/views/lock/role/store';
import useOrderStore from '@/views/order/store';
import useScoreGoodsStore from '@/views/score/scoregoods/store';
import useSquadStore from '@/views/squad/store';
import useStudentStore from '@/views/student/store';
import useTeacherStore from '@/views/teacher/store';
import { createPinia } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import useAppStore from './modules/app';
import useTabBarStore from './modules/tab-bar';
import useUserStore from './modules/user';
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
export {
  useAdminStore,
  useAppStore,
  useClockStore,
  useGoodsStore,
  useIndexStore,
  useMenuStore,
  useOrderStore,
  useRoleStore,
  useScoreGoodsStore,
  useSquadStore,
  useStudentStore,
  useTabBarStore,
  useTeacherStore,
  useUserStore,
};
export default pinia;
